﻿using System.Collections.Generic;

namespace In.Api.Dto.HisWs
{
    public class GetQueueInfoResponse
    {
        /// <summary>
        /// 处理结果代码：0-成功
        /// </summary>
        public string ResultCode { get; set; }
        /// <summary>
        /// 处理结果描述
        /// </summary>
        public string ResultDesc { get; set; }

        /// <summary>
        /// 排队信息列表
        /// </summary>
        public List<QueueInfo> QueueList { get; set; }

        public class QueueInfo
        {
            /// <summary>
            /// 队列名称 (如:科室ID + 医生ID)
            /// </summary>
            public string Name { get; set; }
            /// <summary>
            /// 队列状态 0-正常 1-停诊
            /// </summary>
            public string State { get; set; }
            /// <summary>
            /// 科室ID
            /// </summary>
            public string DeptId { get; set; }
            /// <summary>
            /// 医生编号
            /// </summary>
            public string DoctorId { get; set; }
            /// <summary>
            /// 医生姓名
            /// </summary>
            public string DoctorName { get; set; }
            /// <summary>
            /// 病人姓名
            /// </summary>
            public string PatientName { get; set; }
            /// <summary>
            /// 挂号序号
            /// </summary>
            public string RegNo { get; set; }
            /// <summary>
            /// 前面人数
            /// </summary>
            public string ForeNum { get; set; }
            /// <summary>
            /// 前面未付款人数
            /// </summary>
            public string UnPayNum { get; set; }
            /// <summary>
            /// 就诊卡号
            /// </summary>
            public string CardNo { get; set; }
            /// <summary>
            /// 科室名称
            /// </summary>
            public string DeptName { set; get; }
            /// <summary>
            /// 号类
            /// </summary>
            public string RegType { get; set; }
        }
    }
}